package cn.ffcs.uec.view.manager.impl;


import java.util.List;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import cn.ffcs.uec.staffAndOutStaff.vo.StaffAndOutStaff;
import cn.ffcs.uec.view.dao.UecArticleDao;
import cn.ffcs.uec.view.manager.UecArticleManager;
import cn.ffcs.uec.view.model.UecArticle;
import cn.ffcs.uom.common.vo.PageInfo;
@Service("uecArticleManager")
@Scope("prototype")
public class UecArticleManagerImpl implements UecArticleManager {
	@Resource
   private UecArticleDao uecArticleDao;

	@Override
	public PageInfo queryPageInfoByUecArticle(UecArticle uecArticle, int current, int pageSize) {
		// TODO Auto-generated method stub
		return this.uecArticleDao.queryPageInfoByUecArticle(uecArticle, current, pageSize);
	}

	@Override
	public UecArticle findUecArticleById(UecArticle uecArticle) {
		// TODO Auto-generated method stub
		return this.uecArticleDao.findUecArticleById(uecArticle);
	}

	@Override
	public List<UecArticle> findUecArticleByPkPsndoc(StaffAndOutStaff staffAndOutStaff) {
		// TODO Auto-generated method stub
		return this.uecArticleDao.findUecArticleByPkPsndoc(staffAndOutStaff);
	}

	@Override
	public List<UecArticle> findUecArticleByPkPsndocAndDiffDate(StaffAndOutStaff staffAndOutStaff) {
		// TODO Auto-generated method stub
		return this.uecArticleDao.findUecArticleByPkPsndocAndDiffDate(staffAndOutStaff);
	}

}
